/*
 * Copyright (c) gitee.com/jiandong001.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

export class BundleStatus {
  public isLastDownloadSucess: boolean;
  public updateTimestamp: number = -1;

  public constructor(isLastDownloadSucess: boolean = false, updateTimestamp: number = -1) {
    this.isLastDownloadSucess = isLastDownloadSucess;
    this.updateTimestamp = updateTimestamp;
  }
}

export abstract class BundleStatusProvider {
  public abstract getBundleStatus(): BundleStatus;
}
